//
//  ServiceError.m
//  gongwei-ios
//
//  Created by gongwei-mac on 2020/1/21.
//  Copyright © 2020 gongwei-mac. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "ServiceError.h"


@implementation ServiceError

-(int) getErrorCode {
    return self.errorCode;
}

-(NSString*) getErrorTitle {
    return self.errorTitle;
}

-(NSString*) getErrorMessage {
    return self.errorMessage;
}

-(NSString*) getErrorDetails {
    return self.errorDetails;
}

-(void) setErrorCode:(int)errorCode {
    self.errorCode = errorCode;
}

-(void) setErrorTitle:(NSString *)errorTitle {
    self.errorTitle = errorTitle;
}

-(void) setErrorMessage:(NSString *)errorMessage {
    self.errorMessage = errorMessage;
}

-(void) setErrorDetails:(NSString *)errorDetails {
    self.errorDetails = errorDetails;
}

@end
